<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta content="telephone=no" name="format-detection" />
	<meta name="Description" content=""/>
	<meta name="Keywords" content=""/>
	<link href="favicon.ico" mce_href="favicon.ico" rel="bookmark" type="image/x-icon" />
	<link href="favicon.ico" mce_href="favicon.ico" rel="icon" type="image/x-icon" />
	<link href="favicon.ico" mce_href="favicon.ico" rel="shortcut icon" type="image/x-icon" />
	<title>盖网魔盒</title>
	<link rel="stylesheet" href="css/reset.css">
	<link rel="stylesheet" href="css/styles.css">
	<script src="js/jquery-2.2.2.min.js"></script>
	<script src="js/jquery.flexslider-min.js"></script>
	<script src="js/common.js"></script>
	<script src="json/videoJson.js"></script>	
	<script>
		$(function(){
			if(window.name=="gwmhLogined"){
				$("#authentication").attr("href","hasLogined.html");
			}
						
			$.getUrlParam = function (name) {  
             	var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)");  
             	var r = window.location.search.substr(1).match(reg);  
             	if (r != null) return unescape(r[2]); return null;  
         	}
         	var param_pid = $.getUrlParam('pid');
         	var param_id = $.getUrlParam('id');
         	$(videoData).each(function(){
         		var pid=this.pid;
         		var id=this.id;
         		var source=this.source;
         		if(this.childitem.length!=0){
         			$(this.childitem).each(function(){
         				id=this.id;
         				source=this.source;
         				if(param_id==id){
         					$("source").attr("src",source);
         				}
         			})
         		}else{
         			if(param_id==id){
         				$("source").attr("src",source);
         			}
         		}
         	})
		})
	</script>
</head>
<body>
	<header class="header">
		<a href="javascript:history.go(-1)" class="reback"></a>
	</header>
	<section class="container">
		<video width="100%" autoplay="autoplay" controls> 
			<source src="">
		</video> 
	</section>
	<footer class="footer">
		<ul class="menu clearfix">
			<li>
				<a href="index.html">
					<i class="icon ico-01 active"></i>
					<span>主页</span>
				</a>
			</li>
			<li>
				<a href="login.html" id="authentication">
					<i class="icon ico-02"></i>
					<span>认证上网</span>
				</a>
			</li>
			<li>
				<a href="social.html">
					<i class="icon ico-03"></i>
					<span>局域社交</span>
				</a>
			</li>
		</ul>
	</footer>	
</body>
</html>